package com.woniu.smart.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @TableName contract合同
 */
@Data
public class Contract implements Serializable {
    private Integer contractId;  //合同id

    private String contractNum;  //合同编号

    private String contractAtt;  //合同属性（类别）

    private String contractState;  //合同状态

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date contractRenewal;  //续签时间

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date contractExpire;  //到期时间

    private String contractCollection;  //收款凭证

    private String contractCont;  //	合同凭证

    private String contractPhone;  //企业负责人电话

    private Integer enterpriseId;  //企业id

    private Integer informationId;  //账单id

    private Integer roomId;  //房间id

    private Integer staffsId;  //员工id/负责人


    private String contractBy1;  //合同备用1

    private String contractBy2;  //合同备用2

    private String contractBy3;  //合同备用3

    private static final long serialVersionUID = 1L;  //
}